/*
 * Copyright 2006-2007 S W McIlroy
 * Licensed  under the  Apache License,  Version 2.0  (the "License");
 * you may not use  this file  except in  compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed  under the  License is distributed on an "AS IS" BASIS,
 * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY KIND, either  express  or
 * implied.
 *
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.mockfu;

import java.util.Collection;
import java.util.Comparator;
import java.util.Queue;
import java.util.SortedSet;
import java.util.Vector;

/**
 * A constraint return type that is compatible with the most common Collection implementations.
 *
 * @param <E>
 */
@SuppressWarnings( "unchecked" )
public class CollectionKey<E> extends Vector<E> implements SortedSet<E>, Queue<E>
{
    private static final long serialVersionUID = 1L;

    public Comparator<? super E> comparator()
    {
        return null;
    }

    public E first()
    {
        return null;
    }

    public SortedSet<E> headSet( Object toElement )
    {
        return null;
    }

    public E last()
    {
        return null;
    }

    public SortedSet<E> subSet( Object fromElement, Object toElement )
    {
        return null;
    }

    public SortedSet<E> tailSet( Object fromElement )
    {
        return null;
    }

    @Override
    public boolean add( Object o )
    {
        return false;
    }

    @Override
    public boolean addAll( Collection c )
    {
        return false;
    }

    @Override
    public boolean containsAll( Collection c )
    {
        return false;
    }

    @Override
    public boolean removeAll( Collection c )
    {
        return false;
    }

    @Override
    public boolean retainAll( Collection c )
    {
        return false;
    }

    @Override
    public Object[] toArray( Object[] a )
    {
        return null;
    }

    public E element()
    {
        return null;
    }

    public boolean offer( Object o )
    {
        return false;
    }

    public E peek()
    {
        return null;
    }

    public E poll()
    {
        return null;
    }

    public E remove()
    {
        return null;
    }

}
